home *** CD-ROM | disk | FTP | other *** search
/ CD/PC Actual 76 / DVD Actual 1 Marzo 2003.iso / Trial / TurboCAD 7.1 Pro / Data.Cab / F29324_PaperSpaceWizard.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2000-11-10  |  1.4 KB  |  54 lines

  1. // PaperSpaceWizard.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "resource.h"
  6. #include "PaperSpaceWizard.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CPaperSpaceWizard
  16.  
  17. IMPLEMENT_DYNAMIC(CPaperSpaceWizard, CPropertySheet)
  18.  
  19. CPaperSpaceWizard::CPaperSpaceWizard(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
  20.     :CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
  21. {
  22.         // add all the pages of the wizard
  23.     AddPage(&m_Begin);
  24.     AddPage(&m_PaperOrientation);
  25.  
  26.     // set the WIZARD97 flag so we'll get the new look
  27.     m_psh.dwFlags |= PSH_WIZARD;//PSH_WIZARD97;
  28. //    m_psh.dwFlags |= PSH_NOAPPLYNOW;//PSH_WIZARD97;
  29.  
  30. }
  31.  
  32. CPaperSpaceWizard::CPaperSpaceWizard(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
  33.     :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
  34. {
  35.         // add all the pages of the wizard
  36.     AddPage(&m_Begin);
  37.     AddPage(&m_PaperOrientation);
  38.  
  39. }
  40.  
  41. CPaperSpaceWizard::~CPaperSpaceWizard()
  42. {
  43. }
  44.  
  45.  
  46. BEGIN_MESSAGE_MAP(CPaperSpaceWizard, CPropertySheet)
  47.     //{{AFX_MSG_MAP(CPaperSpaceWizard)
  48.         // NOTE - the ClassWizard will add and remove mapping macros here.
  49.     //}}AFX_MSG_MAP
  50. END_MESSAGE_MAP()
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CPaperSpaceWizard message handlers
  54.